package com.uzai.console.vo.workorder;

import com.uzai.console.dto.Materials;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author mingyang.chen create in 2023/6/16 15:16
 */
@Data
@ApiModel("工单试图对象")
public class WorkOrderVO {

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("运营商id")
    private Long merId;

    @ApiModelProperty("问题描述")
    private String desc;

    @ApiModelProperty("视频截图链接")
    private List<Materials> imgVideoLink;

    /**
     * @see com.uzai.common.enums.WorkOrderType
     */
    @ApiModelProperty("工单类型. 1: bug, 2: 需求, 3: 投诉建议")
    private Integer type;

    /**
     * @see com.uzai.common.enums.WorkOrderBugType
     */
    @ApiModelProperty("bug类型. 1:订单问题, 2:用户问题,3:功能问题,4:其他问题")
    private Integer bugType;

    @ApiModelProperty("平台, 0: 淘宝, 1: 京东, 2: 拼多多, 3: 唯品会, 8: 美团, 9: 饿了么, 11: 抖音")
    private Integer orderPlatform;

    @ApiModelProperty("订单号")
    private List<String> orderNumber;

    @ApiModelProperty("用户id集合")
    private List<String> userNumber;

    /**
     * @see com.uzai.common.enums.WorkOrderOptType
     */
    @ApiModelProperty("处理方式. 1: bug已提交, 2: 非bug不处理, 3: bug转需求, 4:需求实施-废弃, 5:需求未实施, 6:暂不支持, 7: 投诉已处理, 8: 需求排期, 9: 继续沟通")
    private Integer optType;
    @ApiModelProperty("处理方式描述")
    private String optTypeDesc;
    /**
     * @see com.uzai.common.enums.WorkOrderOptStatus
     */
    @ApiModelProperty("处理状态. 1: 处理中, 2: 已处理, 3: 等待回复")
    private Integer optStatus;
    @ApiModelProperty("处理结果")
    private String optResult;

    @ApiModelProperty("手机号")
    private String mobile;

    @ApiModelProperty("是否接受沟通, 0-不接受, 1-接受")
    private Integer acceptTalk;

    @ApiModelProperty("回复内容")
    private List<WorkOrderReplyVO> replyList;

    @ApiModelProperty("创建时间")
    private Integer createTime;


}
